import { View } from "@tarojs/components"
import Global from "../lib/global"
import "./toolbar.scss"

interface ToolbarProps {
    children: any,

}

const Toolbar = (props: ToolbarProps) => {



    return (
        <View className="toolbar" style={{ paddingBottom: `${Global.shared.safeBottom}px` }}>
            <View className="toolbar-warp">
                { props.children }
            </View>
        </View>
    )

}

export default Toolbar